package cn.huhst.cas.weisiqian.pojo;

public class Menu {

	private int id;
	private int pid;
	private String type;
	private String name;
	private String url;
	private int permission;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getPid() {
		return pid;
	}

	public void setPid(int pid) {
		this.pid = pid;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public int getPermission() {
		return permission;
	}

	public void setPermission(int permission) {
		this.permission = permission;
	}

	@Override
	public String toString() {
		return "Menu [id=" + id + ", pid=" + pid + ", type=" + type + ", name=" + name + ", url=" + url
				+ ", permission=" + permission + "]";
	}

}
